/**
 * @模块名：demo
 * @包名：com.example.demo.controller
 * @描述：UserController.java
 * @版本：1.0
 * @创建人：李凯
 * @创建时间：2020年12月30日下午4:34:55
 */
package com.example.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @模块名：demo
 * @包名：com.example.demo.controller
 * @类名称：UserController
 * @类描述：
 * @版本：1.0
 * @创建人：李凯
 * @创建时间：2020年12月30日下午4:34:55
 */
@RequestMapping(value = "user")
@Controller
public class UserController {

	@RequestMapping(value = "index", method = RequestMethod.GET)
	public String index() {
		return "index";
	}

	public static void main(String[] args) {
		// String s =
		// "01,000002,D,2,21.42,4999978.58,0110000300000016,47318963,2021-01-14,8010100,62,,1050,电汇,,801010012010102596212,,20210114163419,新疆心连心电子商务股份有限公司,";
		String s = "01,020418,C,1,5000000.00,5000000.00,,47303385,2021-01-14,8010100,12,,1002,存入,"+
					",801010012010102596212,,20210114122228,,";
		String[] ss1 = s.split(",");
		String[] ss2 = s.split(",", -1);
		System.out.println(ss1.length + ":::::::" + ss2.length);
	}
}
